package com.toutoushidao.ssm.entity;


/**
 * 用户
 * @author laodun
 *
 */
public class Stock {
    private Long id;
    private Equipment equipment;
    private Integer total;
    private Integer sales;

    public Equipment getEquipment() {
        return equipment;
    }

    public void setEquipment(Equipment equipment) {
        this.equipment = equipment;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Stock{" +
                "id=" + id +
                ", equipment=" + equipment +
                ", total=" + total +
                ", sales=" + sales +
                '}';
    }
}
